package serlvet;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import org.apache.log4j.Logger;

/**
 * Create By IntelliJ IDEA
 *
 * @Author: jsonor
 * @Create-Time: 2017/9/25 14:40
 * @Description: 继承于HttpServlet
 */
public class Life2Servlet extends HttpServlet {

  private static final Logger logger = Logger.getLogger(Life2Servlet.class);

  @Override
  public void destroy() {
    logger.error("destroy happened in life2 servlet");
  }

  @Override
  public void init() throws ServletException {
    logger.error("init happened in life2 servlet");
  }
}
